package com.f5.management.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class TollDetail {
    private int id;
    private String communityName;//小区id
    private String tollProjectName;//收费项目id
    private String memberName;//人员管理id--业主
    private double receivableAmount;//应收金额
    private double actualAmount;//实收金额
    private String desc;//备注
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT"+24)
    private Date payTime;//缴费时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT"+24)
    private Date createTime;//创建时间
}
